//2009/09/04 19:29:53
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class WordForm
{
public:
    string getSequence(string word)
    {
		word = " " + word;
		for(int i=1; i<word.size(); i++)
		{
			if(isvowel(word[i])) word[i] = 'V';
			else if(tolower(word[i]) == 'y')
			{
				if(word[i-1] == 'V' || i == 1)
					word[i] = 'C';
				else 
					word[i] = 'V';
			}
			else
				word[i] = 'C';
		}
		string ret;
		ret += word[1];
		for(int i=2; i<word.size(); i++)
		{
			if(word[i] != word[i-1]) ret += word[i];
		}
		return ret;
    }
	bool isvowel(char c)
	{
		c = tolower(c);
		if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u') return true;
		return false;
	}
};
